package cn.ekuma.security.bean;

import java.util.List;

public interface I_RolePermission {
	public void setPermissions(List<I_Permission> ps);

	int getExtPermission(int checkPermission);
	
	boolean hasPermission(int checkPermission);
	
	public int getPermissionIdByName(String name);
	
	boolean hasPermissionByName(String checkPermission);

}
